package com.example.kehoobackend.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "likes",autoResultMap = true)
public class Like {

    //用户ID
    private Integer user_id;

    //点赞对象ID
    private Integer target_id;

    //点赞对象类型（0为对回答，1为对评论，2为对问题 ）
    private Integer type;

}
